// app.js
import ajaxApi from "utils/api.js";
App({
  onLaunch() {
    // 展示本地存储能力
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
  globalData: {
    userInfo: null,
    user:null
  },
  ajaxRequset: () => {
    return ajaxApi;
  },
})
